The Oracle Problem When Testing from MSCs
نویسندگان
چکیده
Message Sequence Charts (MSCs) form a popular language in which scenariobased specifications and models can be written. There has been significant interest in automating aspects of testing from MSCs. This paper concerns the Oracle Problem, in which we have an observation made in testing and wish to know whether this is consistent with the specification. We assume that there is an MSC specification and consider the case where we have entirely independent local testers (local observability) and where the observations of the local testers are logged and brought together (tester observability). It transpires that under local observability the Oracle Problem can be solved in low-order polynomial time if we use sequencing, loops and choices but becomes NP-complete if we also allow parallel components; if we place a bound on the number of parallel components then it again can be solved in polynomial time. For tester observability, the problem is NP-complete when we have either loops or choices. However, it can be solved in low-order polynomial time if we have only one loop, no choices, and no parallel components. If we allow parallel components then the Oracle Problem is NP-complete for tester observability even if we restrict to the case where there are at most two processes.
منابع مشابه
Testing from structured algebraic specifications : the oracle problem
Work in the area of specification-based testing has pointed out that testing can be effectively used to verify programs against formal specifications. The aim is to derive test information from formal specifications so that testing can be rigorously applied whenever full formal verification is not cost-effective. However, there are still several obstacles to be overcome in order to establish te...
متن کاملGrowth suppression effect of human mesenchymal stem cells from bone marrow, adipose tissue, and Wharton's jelly of umbilical cord on PBMCs
Objective(s):Immunosuppressive property of mesenchymal stem cells (MSCs) has great attraction in regenerative medicine especially when dealing with tissue damage involving immune reactions. The most attractive tissue sources of human MSCs used in clinical applications are bone marrow (BM), adipose tissue (AT), and Wharton's jelly (WJ) of human umbilical cord. The current study has compared immu...
متن کاملA Comprehensive Survey of Trends in Oracles for Software Testing
Testing involves examining the behaviour of a system in order to discover potential faults. Determining the desired correct behaviour for a given input is called the “oracle problem”. Oracle automation is important to remove a current bottleneck which inhibits greater overall test automation; without oracle automation, the human has to determine whether observed behaviour is correct. The litera...
متن کاملVerification of Optimization Algorithms: a Case Study of a Quadratic Assignment Problem Solver
It is often difficult to verify the solutions of computationally intensive mathematical optimization problems. Metamorphic testing is a technique to verify software test output even when a complete testing oracle is not present. We apply metamorphic testing to a classic optimization problem, the quadratic assignment problem (QAP). A number of metamorphic relations for the QAP are described in d...
متن کاملFault-Based Testing in the Absence of an Oracle
Although testing is the mostpopular method for assuring sofrware quality, there are two recognized limitations, known as the reliable test set problem and the oracle problem. Fault-based testing is un attempt by Morell to alleviate the reliable test set problem. In this papec we propose to enhance fault-based testing to address the oracle problem as well. We present an integrated method that co...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Comput. J.
دوره 57 شماره
صفحات -
تاریخ انتشار 2014